package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2021/5/3 19:22
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "-------PaymentFallbackService fall back-[paymentInfo_OK]" + id;
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-------PaymentFallbackService fall back-[paymentInfo_TimeOut]" + id;
    }
}
